package io.renren.modules.workmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.workmanagement.entity.QuestionBankCourseRelEntity;

import java.util.List;
import java.util.Map;

/**
 *
 *
 * @author yewei
 * @email sunlightcs@gmail.com
 * @date 2022-04-26 01:12:33
 */
public interface QuestionBankCourseRelService extends IService<QuestionBankCourseRelEntity> {

    PageUtils queryPage(Map<String, Object> params);

    QuestionBankCourseRelEntity getByBankId(Long id);

    void removeByBankIds(List<String> bankIds);

    List<QuestionBankCourseRelEntity> listByBankIds(List<Long> bankIds);


    List<QuestionBankCourseRelEntity> listByCourseId(Long courseId);

    List<QuestionBankCourseRelEntity> listByCourseIds(List<Long> courseIds);
}

